package com.xbfinance.portal.dao;


import java.util.List;

import com.xbfinance.portal.pojo.po.P2pProject;
import com.xbfinance.portal.pojo.po.P2pProjectExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface P2pProjectMapper {
    int countByExample(P2pProjectExample example);

    int deleteByExample(P2pProjectExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(P2pProject record);

    int insertSelective(P2pProject record);

    List<P2pProject> selectByExample(P2pProjectExample example);

    P2pProject selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") P2pProject record, @Param("example") P2pProjectExample example);

    int updateByExample(@Param("record") P2pProject record, @Param("example") P2pProjectExample example);

    int updateByPrimaryKeySelective(P2pProject record);

    int updateByPrimaryKey(P2pProject record);
}